package com.yidu.drug.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.yidu.drug.common.Page;
import com.yidu.drug.common.Tools;

public class MaterialsModel implements Serializable {
    private String matId;

    private String matTypeId;

    private String matName;

    private BigDecimal matPrice;

    private String matState;

    private Integer sort;

    private String operator;

    private Date cztime;

    private String isva;
    
    private Page page;
    
    private String time;
    
    private String typeName;
    
    private String LAY_CHECKED;
    
    private String money;
    
    
    

    public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getLAY_CHECKED() {
		return LAY_CHECKED;
	}

	public void setLAY_CHECKED(String lAY_CHECKED) {
		LAY_CHECKED = lAY_CHECKED;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	public String getTime() {
		time=Tools.getTimeStr(cztime);
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	private static final long serialVersionUID = 1L;

    public String getMatId() {
        return matId;
    }

    public void setMatId(String matId) {
        this.matId = matId;
    }

    public String getMatTypeId() {
        return matTypeId;
    }

    public void setMatTypeId(String matTypeId) {
        this.matTypeId = matTypeId;
    }

    public String getMatName() {
        return matName;
    }

    public void setMatName(String matName) {
        this.matName = matName;
    }

    public BigDecimal getMatPrice() {
        return matPrice;
    }

    public void setMatPrice(BigDecimal matPrice) {
        this.matPrice = matPrice;
    }

    public String getMatState() {
        return matState;
    }

    public void setMatState(String matState) {
        this.matState = matState;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getCztime() {
        return cztime;
    }

    public void setCztime(Date cztime) {
        this.cztime = cztime;
    }

    public String getIsva() {
        return isva;
    }

    public void setIsva(String isva) {
        this.isva = isva;
    }
}